<?php
include '../conf.php';
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>LogMe</title>
    </head>
    <body>
        <ul>
            <?php
            $content = '';
            $files = scandir(__DIR__);
            foreach ($files as $key => $files) {
                if (substr($files, 0, 1) != '.' && __DIR__ . '/' . $files != __FILE__) {
                    $content .= HtmlTag::li(HtmlTag::a($files,array('href'=>$files)));
                }
            }
            echo $content;
            ?>
        </ul>
    </body>
</html>
